projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8db56
)
Satisfy GCC warnings on the GNUstep build
author
Po Lu
<luangruo@yahoo.com>
Thu, 9 Jun 2022 08:48:17 +0000
(16:48 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 9 Jun 2022 08:48:17 +0000
(16:48 +0800)
* src/nsfns.m (ns_move_tooltip_to_mouse_location):
* src/nsterm.m ([EmacsWindow draggedImage:movedTo:]): Pacify GCC.
src/nsfns.m
patch
|
blob
|
history
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsfns.m
b/src/nsfns.m
index d4cf4f5ffae2d8722dac22dc424d0e66fe14ae7f..add4883e1fde6d6d362a66c5a418c076e854a6c1 100644
(file)
--- a/
src/nsfns.m
+++ b/
src/nsfns.m
@@
-3808,6
+3808,8
@@
ns_move_tooltip_to_mouse_location (NSPoint screen_point)
NSWindow *window;
struct frame *tip_f;
+ window = nil;
+
if (!FIXNUMP (tip_dx) || !FIXNUMP (tip_dy))
return;
diff --git
a/src/nsterm.m
b/src/nsterm.m
index b0eb86bfb09c5fe76ae559c65df74efc5e612e06..3b2830e73d651c3ffd7f07b7f53393ec88da3cc2 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-9660,9
+9660,9
@@
nswindow_orderedIndex_sort (id w1, id w2, void *c)
[NSException raise: @""
format: @"Must return DND frame"];
}
-#endif
out:
+#endif
if (dnd_move_tooltip_with_frame)
ns_move_tooltip_to_mouse_location (mouse_loc);